﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CitrixSystemVerifier
{
    public partial class LoadProgressDialog : Form
    {
        public LoadProgressDialog(int Size)
        {
            InitializeComponent();
            StatusProgressBar.Maximum = Size;
            StatusTextBox.Text = "Ready";
        }

        public void Update (string status)
        {
            Refresh();
            StatusProgressBar.PerformStep();
            StatusTextBox.Text = status;
            Refresh();
        }

    }
}
